package cate.game.power;

import cate.game.attr.PowerAttrPart;
import cate.game.role.Role;
import easy.java.dev.note.NoteClass;

@NoteClass("称号")
public class TitlePowerFactor extends PowerAttrPart {

	public TitlePowerFactor() {
	}

	public TitlePowerFactor(Role role) {
		if (role == null) {
			return;
		}
		this.attr= role.getShow().title.getAttr();
	}

	public PowerAttrPart buildHeroPart() {
		return this;
	}
}
